import { createRouter, createWebHistory } from "vue-router";

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/management',
      name: 'management',
      component: import('../views/List.vue'),
    },
    {
      path: '/Stopdiagnosis',
      name: 'Stopdiagnosis',
      component: import('../views/Detail.vue'),
    },
    {
      path: '/OrderMGT',
      name: 'OrderMGT',
      component: import('../views/OrderMGT.vue'),
    },
    {
      path: '/Account',
      name: 'Account',
      component: import('../views/Account.vue'),
    },
    {
      path: '/Role',
      name: 'Role',
      component: import('../views/Role.vue'),
    },
    {
      path: '/Basic',
      name: 'Basic',
      component: import('../views/Basic.vue'),
    }
  ],
});
export default router;
